package cn.bj.xd.mdy.controller;

import cn.bj.xd.mdy.core.WorkSheetClient;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class MdyController {
    @Resource
    @Qualifier("testWorkSheetClient")
    private WorkSheetClient workSheetClient;

    @GetMapping("/test")
    public Object test() {
        return workSheetClient.getRowById("pinlei", "5246adc2-a317-4761-b124-5d40e08caa24").getData();
    }
}
